<div id="header">
	<div id="header-content">
		<div class="header-form">
			<div class="header-input" >
				<a href="/postingFree" class="btn btn-lg btn-danger" id="header_btn_search">
					<span class="glyphicon glyphicon-pencil"></span> Đăng Tin Miễn Phí
				</a>
				<?php if(!empty($user) && $user['group_id'] ==3){?>
					<a href="/Member/logout" class="btn btn-lg btn-danger" id="header_btn_logout">
						<span class="glyphicon glyphicon-log-out">
					</span> Đăng Xuất</a>
				<?php } else{?>
					<button class="btn btn-lg btn-danger" type="submit" id="btn_open_modal_login"  href="#signup" data-toggle="modal" data-target="#modalLogin">
						<span class="glyphicon glyphicon-user"></span>
						Đăng Nhập
					</button>
				<?php }?>
				
			</div>
			<div class="header-regist">
				<?php if(!empty($user) && $user['group_id'] ==3){?>
					<a href="/quan-ly-user" style="margin-right: 10px;"><span class="glyphicon glyphicon-user"></span> Vào trang cá nhân</a>
					
				<?php
				
				}else{
				?>
					<a href="/registerUser" style="margin-right: 10px;"><span class="glyphicon glyphicon-plus"></span> Đăng ký thành viên</a>
				<?php
				}
				?>
				<a href="/search"><span class="glyphicon glyphicon-search"></span> Tìm Rao Vặt</a>
			</div>
		</div>
		<div class="header-logo">
			<a href="/"><img src="/theme/Default/img/logo.png"/></a>
		</div>

	</div>
</div>